package cn.edu.scau.nursingcenter.entiry;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * 床位信息管理实体类 Bed_information
 * @author feng
 *
 */
@ApiModel(value = "床位信息管理实体类")
@Entity(name = "bed_information")
@Table(name = "bed_information")
@Data
@Builder
@AllArgsConstructor
public class Bed_information implements Serializable{
	
	/**
	 *  床位编号 主键 自增
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@ApiModelProperty(value = "床位编号")
	private Integer bed_id;
	/**
	 *  客户编号
	 */
	@ApiModelProperty(value = "客户编号")
	private Integer c_id;
	/**
	 *  客户名字
	 */
	@ApiModelProperty(value = "客户名字")
	private String c_name;
	/**
	 *  楼层号
	 */
	@ApiModelProperty(value = "楼层号")
	private Integer floor_number;
	/**
	 *  床位状态
	 */
	@ApiModelProperty(value = "床位状态")
	private boolean bed_status;
	/**
	 *  床位类型
	 */
	@ApiModelProperty(value = "床位类型")
	private String bed_type;
	/**
	 *  房间号
	 */
	@ApiModelProperty(value = "房间号")
	private String room_number;
	/**
	 *  无参构造方法
	 */
	private Bed_information() {
	}
	private static final long serialVersionUID = 8345820803808576532L;

	
}
